export interface IUser {
	userId: string;
	username: string;
	nickname: string | null;
	type: number;
	roleId: number;
	status: number | null;
	avatar: string | null;
	notes: string | null;
	updateTime: Date | null;
	createTime: Date;
	recentLoginTime: Date | null;
	phone: string | null;
	email: string | null;
	roleName: string;
}

export interface IUserList {
	list: IUser[];
	total: number;
}

export interface IListQueryParams {
	keyword: string;
	type: number | null;
	status: number | null;
	pageNum: number;
	pageSize: number;
}

export interface ICreateUserInfo {
	userId?: string;
	nickname: string;
	username: string;
	password?: string;
	roleId: number;
	notes?: string;
	phone: string | null;
	email: string | null;
}
